Method
Namespace: ANSITerm
Declared in: ANSITerm.IConsoleBackend
Sets the cursor position.
public void SetCursorPosition(
int x,
int y
)
x
Ranges from 0 to WindowWidth - 1
y
Ranges from 0 to WindowHeight - 1
user@host:~$ dotnet MyAwesomeApp.dll
Hello, world!
The 'H' symbol is located at 0, 0 in this case, which
should feel pretty familiar to most UNIX terminal users.
On Windows this behaviour is emulated by saving initial
cursor position when the console is initialized and
offsetting by it.